package com.qian.apiserver.tio.common;

import org.springframework.stereotype.Component;
import org.tio.core.intf.Packet;

@Component
public class HelloPacket extends Packet {
    public static final int HEADER_LENGHT = 4;//消息头的长度
    public static final String CHARSET = "utf-8";
    private byte[] body;

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
